package application;

import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;

public class Order_info {
	private final StringProperty oid;
	private final StringProperty oname;
	private final StringProperty oprice;
	private final StringProperty odetail;
	
	public Order_info() {
		this(null);
		
	}
	public Order_info(StringOrder_info Order_info) {
		this.oid=new SimpleStringProperty(Order_info.getO_id());
		this.oname=new SimpleStringProperty(Order_info.getO_name());
		this.oprice=new SimpleStringProperty(Order_info.getO_price());
		this.odetail=new SimpleStringProperty(Order_info.getO_detail());
		
	}
	public String getO_id() {
		return oid.get();
	}
	public void setO_id(String id) {
		this.oid.set(id);
	}
	public StringProperty idProperty() {
		return oid;
	}
	
	public String getO_name() {
		return oname.get();
	}
	public void setO_name(String name) {
		this.oname.set(name);
	}
	public StringProperty nameProperty() {
		return oname;
	}
	
	
	public String getO_price() {
		return oprice.get();
	}
	public void setO_price(String price) {
		this.oprice.set(price);
	}
	public StringProperty priceProperty() {
		return oprice;
	}
	
	public String getO_detail() {
		return odetail.get();
	}
	public void setO_detail(String detail) {
		this.odetail.set(detail);
	}
	public StringProperty detailProperty() {
		return odetail;
	}	
}
